﻿using System;
using System.Drawing;
using System.Diagnostics;
using System.Windows.Forms;

namespace SimpleMediaManager
{
    public partial class About : Form
    {
        public About()
        {
            InitializeComponent();
        }

        private void About_Load(object sender, EventArgs e)
        {
            labelApplicationTitle.Text = Application.ProductName + " " + Application.ProductVersion;
        }

        private void buttonClose_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void linkLabelTmdb_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Process.Start("http://www.themoviedb.org/");
        }

        private void linkLabelOsdb_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Process.Start("http://www.opensubtitles.org/");
        }

        private void linkLabelDsNet_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Process.Start("http://directshownet.sourceforge.net/");
        }

        private void linkLabelXmlRpc_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Process.Start("http://www.xmlrpc.com/");
        }

        private void linkLabelProject_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Process.Start("http://www.simplemediamanager.com/");
        }

        private void linkLabelWebsite_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            Process.Start("http://radioactivefrog.com/");
        }
    }
}
